package com.saihai.jiankang.selectItem.mapper;

import java.util.List;
import com.saihai.jiankang.selectItem.domain.WorkflowSelectitem;

/**
 * 字典Mapper接口
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public interface WorkflowSelectitemMapper 
{
    /**
     * 查询字典
     * 
     * @param fieldid 字典主键
     * @return 字典
     */
    public WorkflowSelectitem selectWorkflowSelectitemByFieldid(Long fieldid);

    /**
     * 查询字典列表
     * 
     * @param workflowSelectitem 字典
     * @return 字典集合
     */
    public List<WorkflowSelectitem> selectWorkflowSelectitemList(WorkflowSelectitem workflowSelectitem);

    /**
     * 新增字典
     * 
     * @param workflowSelectitem 字典
     * @return 结果
     */
    public int insertWorkflowSelectitem(WorkflowSelectitem workflowSelectitem);

    /**
     * 修改字典
     * 
     * @param workflowSelectitem 字典
     * @return 结果
     */
    public int updateWorkflowSelectitem(WorkflowSelectitem workflowSelectitem);

    /**
     * 删除字典
     * 
     * @param fieldid 字典主键
     * @return 结果
     */
    public int deleteWorkflowSelectitemByFieldid(Long fieldid);

    /**
     * 批量删除字典
     * 
     * @param fieldids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkflowSelectitemByFieldids(Long[] fieldids);
}
